/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ass1;

/**
 *
 * @author Dio
 */
public class Car {

    private int xPos = 0;
    private int yPos = 0;
/** position x and y */
    public Car(int x, int y) {
        xPos = x;
        yPos = y;
    }

    public int getXPos() { return xPos; }
    public int getYPos() { return yPos; }
    public void setXPos(int x) { xPos = x; }
    public void setYPos(int y) { yPos = y; }
}
